<? 
	//error_reporting(E_ALL);
	require_once "../../commons/includes/authentication.inc"; 	
	require_once "../../commons/includes/editjs.inc"; 
	require_once "../../commons/includes/stringutils.inc"; 
	require_once "../../commons/includes/connection.inc"; 
	
	$CentroDiProfitto = $_REQUEST["CentroDiProfitto"];
	
	$sql = "SELECT * FROM TabCentriProfitto where CentroDiProfitto='$CentroDiProfitto'";
	$rs = rs($sql, "","Controllo");
	$editMode = "EDIT";
	$CentroDiProfittoStatus="readonly";
	$btndelete ="deleteButton();";

	while ($values = $rs->getRow()) { 
		foreach($values as $key=>$val) $$key = $val; 
	}
	
	@$rs->freeResult();
	include "form.inc";
?>